import unittest
from roport import send_mail
import HTMLTestRunner_PY3

if __name__ == '__main__':
    send=unittest.defaultTestLoader.discover('./',pattern='test*.py')
    # with 'Roport','wb' as e:
    #     runner=HTMLTestRunner_PY3.HTMLTestRunner(send)
    #     runner.run(send)
    #
    #     send_mail(['Roport'],['wb'])
    unittest.TextTestRunner().run(send)